
function onUse(cid, item, fromPosition, itemEx, toPosition)
	local storage = item.uid
	local ret = false
	
	if(getPlayerStorageValue(cid, storage) > 0) then
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
		return true
	end

	ret = doPlayerAddItem(cid, 11399, 1, 0, 1) ~= 0 and true or false
	
	if not ret then
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'It is too heavy or you have not enough space.')
		return true
	end
	setPlayerStorageValue(cid, storage, 1)
	doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a waterskin of water.')
	return true
end